package cn.hp.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "Announcement对象",description = "公告对象")
public class Announcement {
    //Integer 是int类型的包装类，提供了一些办法
    @ApiModelProperty(value = "公告id")
    private Integer id;//公告id
    @ApiModelProperty(value = "公告标题")
    private String title;//公告标题
    @ApiModelProperty(value = "公告内容")
    private String contents;//公告内容
    @ApiModelProperty(value = "创建时间")
    private String createDatetime;//创建时间
    @ApiModelProperty(value = "公告状态")
    private Integer annStatus;//公告状态
    @ApiModelProperty(value = "修改日期")
    private String annDate;//修改日期
}
